{extend name="main/index" /}
{block name="main"}
<!--权限列表页面-->
<div class="content-page">
    <div class="content">
        <h1 class="text-center h2">权限列表</h1>
        <table class="table table-bordered text-center">
            <tr>
                <th class="active col-xs-2 text-center">编号</th>
                <th class="active col-xs-2 text-center">权限名</th>
                <th class="active col-xs-2 text-center">控制器权限</th>
                <th class="active col-xs-2 text-center">方法控制权限</th>
                <th class="active col-xs-4 text-center">操作</th>
            </tr>

            <!--遍历-->
            {volist name="list" id="v"}
            <tr>
                <td class="info h4" style="line-height: 30px;">{$v['n_id']}</td>
                <td class="info" style="line-height: 30px;">{$v['n_nodename']}</td>
                <td class="info" style="line-height: 30px;">{$v['n_controlname']}</td>
                <td class="info" style="line-height: 30px;">{$v['n_modelname']}</td>
                <td class="info">
                    <a class="btn btn-warning" href="{:url('admin/con3/edit',['n_id'=>$v['n_id']])}">修改权限</a>
                    <button type="button" class="btn btn-danger">删除权限</button>
                </td>
            </tr>
            {/volist}
        </table>
    </div>
</div>
{/block}